/**
 * 
 */
package com.acc.softmgr.business.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.acc.softmgr.business.dao.SoftmgrSystemMapper;
import com.acc.softmgr.business.model.SoftmgrSystem;
import com.acc.softmgr.business.model.SoftmgrSystemExample;
import com.acc.softmgr.business.service.ISoftmgrSystemService;

/**
 * 
 * @content
 * 
 * @date 2017年5月8日
 * 
 * @author OprCalf
 * 
 */
@Service
public class SoftmgrSystemServiceImpl implements ISoftmgrSystemService {

	@Autowired
	private SoftmgrSystemMapper SoftmgrSystem;

	@Override
	public long countByExample(SoftmgrSystemExample example) {
		return SoftmgrSystem.countByExample(example);
	}

	@Override
	public int deleteByExample(SoftmgrSystemExample example) {
		return SoftmgrSystem.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return SoftmgrSystem.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(SoftmgrSystem record) {
		return SoftmgrSystem.insert(record);
	}

	@Override
	public int insertSelective(SoftmgrSystem record) {
		return SoftmgrSystem.insertSelective(record);
	}

	@Override
	public int insertList(List<SoftmgrSystem> records) {
		for (SoftmgrSystem record : records) {
			insert(record);
		}
		return 1;
	}

	@Override
	public List<SoftmgrSystem> selectByExample(SoftmgrSystemExample example) {
		return SoftmgrSystem.selectByExample(example);
	}

	@Override
	public SoftmgrSystem selectByPrimaryKey(Integer id) {
		return SoftmgrSystem.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(SoftmgrSystem record, SoftmgrSystemExample example) {
		return SoftmgrSystem.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(SoftmgrSystem record, SoftmgrSystemExample example) {
		return SoftmgrSystem.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(SoftmgrSystem record) {
		return SoftmgrSystem.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(SoftmgrSystem record) {
		return SoftmgrSystem.updateByPrimaryKey(record);
	}

}
